using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace RUPS
{
    public partial class CreareComanda : Form
    {
        public CreareComanda()
        {
            InitializeComponent();
        }

       

        private void comboBoxTipCanat_SelectedIndexChanged(object sender, EventArgs e)
        {
            int nrTipCanat;
            string caleFisierImagine = 
                System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
            nrTipCanat = this.comboBoxTipCanat.SelectedIndex;
            caleFisierImagine += ("\\cod comanda\\"+nrTipCanat.ToString()+".bmp");
            this.pictureBoxTipCanat.ImageLocation = caleFisierImagine;

        }

        private void button1_Click(object sender, EventArgs e)
        {
            Color culoareRama;
            if (colorDialog1.ShowDialog() == DialogResult.OK)
                culoareRama = colorDialog1.Color;
        }

       
    }
}